package com.jic.market.service;

import com.jic.market.request.PromotionGiftItemBatchRequest;
import com.jic.market.request.PromotionGiftItemRequest;
import com.jic.market.response.PageResponse;
import com.jic.market.response.PromotionGiftItemResponse;
import io.swagger.models.auth.In;

import java.util.List;

/**
 * description: PromotionGiftItemService
 * date: 2020/3/2 14:48
 * author: wangys
 * version: 1.0
 */
public interface PromotionGiftItemService {
    Integer saveBatch(PromotionGiftItemBatchRequest request);

    PromotionGiftItemResponse detail(PromotionGiftItemRequest request);

    List<PromotionGiftItemResponse> findAll(PromotionGiftItemRequest request);

    Integer deleteBatch(PromotionGiftItemBatchRequest request);

    Integer deleteById(PromotionGiftItemRequest request);

    PageResponse<PromotionGiftItemResponse> listByPage(PromotionGiftItemRequest request);

    Integer update(PromotionGiftItemRequest request);

    Integer countByPromotionId(PromotionGiftItemRequest request);

    String checkTimeliness(PromotionGiftItemRequest request);
}
